package com.cn.wanxi.service;

import com.cn.wanxi.model.PictureRotationModel;

import java.util.List;

public class PictureRotationService {
    public List<PictureRotationModel> getPictures(){
        PictureRotationModel pictureRotationModel = new PictureRotationModel();
        for (int i = 0; i < pictureRotationModel.hrefs.length; i++) {
            PictureRotationModel picture = new PictureRotationModel();
            picture.setHref(pictureRotationModel.hrefs[i]);
            pictureRotationModel.list.add(picture);
        }
        return pictureRotationModel.list;
    }
}
